import os
import time
from pathlib import Path

import pytest
import xlsx.setting

print(xlsx.setting)

if __name__ == '__main__':


    #for i in  Path("xlsx").glob("*.xlsx"):
    #    print(i)
    print("持续加载！")
    pytest.main()
    #print("================================")
    #print(xlsx.setting)
    time.sleep(3)
    os.environ['NO_COLOR'] = "1"
    os.system("allure generate ./temps -o ./reports --clean")







